package com.cj;

import org.springframework.beans.factory.InitializingBean;

/**
 * @author cc
 * @date 2025-05-11 21:54
 **/

public class Dog{
    public Dog() {
        System.out.println("dog constructor");
    }

    /**
     * 自定义dog初始化
     */
    public void init(){
        System.out.println("init dog");
    }

    /**
     * 自定义dog销毁
     */
    public void close(){
        System.out.println("dog destroy");
    }
}
